﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PageLibrary.Page.Elements;

namespace PageLibrary
{
    class SecondDetailsPage_BE:UserDetailsPage
    {
        public SecondDetailsPage_BE()
        {
            Elements.Add(new Select<UserDetailsPageElements>(UserDetailsPageElements.UserNameAndSecondName, Selector.GetTestDataByKey("SecondUserDetailsPage_UserSelect")));
            Elements.Add(new Input<UserDetailsPageElements>(UserDetailsPageElements.UserName, Selector.GetTestDataByKey("SecondUserDetailsPage_UserName")));
            Elements.Add(new Input<UserDetailsPageElements>(UserDetailsPageElements.UserSecondName, Selector.GetTestDataByKey("SecondUserDetailsPage_UserSecondName")));
            Elements.Add(new Input<UserDetailsPageElements>(UserDetailsPageElements.UserArea, Selector.GetTestDataByKey("SecondUserDetailsPage_UserCountry")));
            Elements.Add(new Link<UserDetailsPageElements>(UserDetailsPageElements.Confirm, Selector.GetTestDataByKey("SecondUserDetailsPage_GoToNextPageLink")));
        }
    }
}
